﻿using System;
using System.ComponentModel; 
using System.Windows.Forms;

namespace ADV_Editor.SystemDialog {

    /// <summary>
    /// テストプレイ中にメインフォーム上に表示して操作できなくするための擬似モーダルウィンドウ
    /// </summary>
    public partial class ExecutingDialog : Form {

        public ExecutingDialog(Form owner) {
            InitializeComponent();
            this.Owner = owner;
            this.StartPosition = FormStartPosition.Manual;
            this.Left = owner.Left + (owner.Width - this.Width) / 2;
            this.Top = owner.Top + (owner.Height - this.Height) / 2;
            this.ShowInTaskbar = false;
        }

    }

}